package com.ruoyix.novel.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 单个章节内容业务对象 novel_chapter_content
 *
 * @author ruoyi
 * @date 2025-06-05
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NovelChapterContentBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 关联的章节大纲ID
     */
//    @NotNull(message = "关联的章节大纲ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long outlineId;

    /**
     * 章节号
     */
    private String chapterNumber;

    /**
     * 章节标题
     */
    private String title;

    /**
     * 章节正文内容
     */
//    @NotBlank(message = "章节正文内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 是否由AI生成
     */
//    @NotNull(message = "是否由AI生成不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer aiGenerated;

    /**
     * AI模型名称或其他来源标识
     */
//    @NotBlank(message = "AI模型名称或其他来源标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String generatedBy;

    /**
     * 备注
     */
    private String remark;



}
